#include <gtk/gtk.h>
#include <cairo.h>
#ifndef HAS_ITEM_ENGINE
#include <itemengine.h>
#endif

#define HAS_MAIN

typedef struct _DockItemLayoutData {
  gdouble x;
  gdouble y;
  gdouble width;
  gdouble height;
  gdouble magnificationFactor;
  cairo_surface_t* renderCache;
  cairo_surface_t* labelBuffer;
  gdouble labelXOffset;
  gdouble labelYOffset;
  DockItemEngine* engine;
  gboolean needsRedraw;
} DockItemLayoutData;


